package com.guoning.office_system.model;

import lombok.Data;

import java.util.Date;

@Data
public class MeetingWithRecordAndUser extends Meeting {
    private AccountingRecord accountingRecord;

    private User user;

    public MeetingWithRecordAndUser(Long id, Long userId, String userCode, String userName, Long recordId, String recordCode, Integer dr, Date ts, String creator, Date createTime, String modifier, Date modifiedTime) {
        super(id, userId, userCode, userName, recordId, recordCode, dr, ts, creator, createTime, modifier, modifiedTime);
    }

    public MeetingWithRecordAndUser(Long id, Long userId, String userCode, String userName, Long recordId, String recordCode, Integer dr, Date ts, String creator, Date createTime, String modifier, Date modifiedTime, AccountingRecord accountingRecord, User user) {
        super(id, userId, userCode, userName, recordId, recordCode, dr, ts, creator, createTime, modifier, modifiedTime);
        this.accountingRecord = accountingRecord;
        this.user = user;
    }

    public MeetingWithRecordAndUser(AccountingRecord accountingRecord, User user) {
        this.accountingRecord = accountingRecord;
        this.user = user;
    }

}
